package com.irdstudio.efp.esb.api.rest.yed.req;

import com.alibaba.fastjson.annotation.JSONField;
import com.irdstudio.efp.esb.api.common.GroupeInterface.yed;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

public class ReqCompanyWhiteBean implements Serializable {

    @JSONField(name="CoNm")
    @Length(max = 300,groups= {yed.class})
    private String companyName;//	公司名称
    @JSONField(name="CoTp")
    @Length(max = 7,groups= {yed.class})
    private String companyType;//	公司类别

    @JSONField(name="EntpTp")
    @Length(max = 2,groups= {yed.class})
    private String companyClass;//	企业分类

    @JSONField(name="ImprTm")
    @Length(max = 17,groups= {yed.class})
    private String importTime;//	导入时间

    @JSONField(name="ImprPrsnStfNo")
    @Length(max = 8,groups= {yed.class})
    private String importEmpNo;//	导入人员工号

    @JSONField(name="RprtBrch")
    @Length(max = 30,groups= {yed.class})
    private String appearOrg;//	上报机构

    @JSONField(name="LastUdtDt")
    @Length(max = 32,groups= {yed.class})
    private String updateDate;//	最后更新日期

    @JSONField(name="StrtPgCnt")
    @Length(max = 10,groups= {yed.class})
    @NotNull(groups= {yed.class})
    @NotEmpty(groups= {yed.class})
    private String pageIndex;//	起始页

    @JSONField(name="TotPgCnt")
    @Length(max = 10,groups= {yed.class})
    @NotNull(groups= {yed.class})
    @NotEmpty(groups= {yed.class})
    private String pageSize	;//页大小

    @JSONField(name="LastUdtPrsnStfNo")
    @Length(max = 8,groups= {yed.class})
    private String updateNo	;//最后更新人员工号

    @JSONField(name="RsrvdFld1")
    @Length(max = 1024,groups= {yed.class})
    private String varchar1	;//预留字段

    @JSONField(name="RsrvdFld2")
    @Length(max = 1024,groups= {yed.class})
    private String varchar2	;//预留字段

    @JSONField(name="RsrvdFld3")
    @Length(max = 1024,groups= {yed.class})
    private String varchar3	;//预留字段

    @JSONField(name="RsrvdFld4")
    @Length(max = 1024,groups= {yed.class})
    private String varchar4	;//预留字段

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyType() {
        return companyType;
    }

    public void setCompanyType(String companyType) {
        this.companyType = companyType;
    }

    public String getCompanyClass() {
        return companyClass;
    }

    public void setCompanyClass(String companyClass) {
        this.companyClass = companyClass;
    }

    public String getImportTime() {
        return importTime;
    }

    public void setImportTime(String importTime) {
        this.importTime = importTime;
    }

    public String getImportEmpNo() {
        return importEmpNo;
    }

    public void setImportEmpNo(String importEmpNo) {
        this.importEmpNo = importEmpNo;
    }

    public String getAppearOrg() {
        return appearOrg;
    }

    public void setAppearOrg(String appearOrg) {
        this.appearOrg = appearOrg;
    }

    public String getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(String updateDate) {
        this.updateDate = updateDate;
    }

    public String getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(String pageIndex) {
        this.pageIndex = pageIndex;
    }

    public String getPageSize() {
        return pageSize;
    }

    public void setPageSize(String pageSize) {
        this.pageSize = pageSize;
    }

    public String getUpdateNo() {
        return updateNo;
    }

    public void setUpdateNo(String updateNo) {
        this.updateNo = updateNo;
    }

    public String getVarchar1() {
        return varchar1;
    }

    public void setVarchar1(String varchar1) {
        this.varchar1 = varchar1;
    }

    public String getVarchar2() {
        return varchar2;
    }

    public void setVarchar2(String varchar2) {
        this.varchar2 = varchar2;
    }

    public String getVarchar3() {
        return varchar3;
    }

    public void setVarchar3(String varchar3) {
        this.varchar3 = varchar3;
    }

    public String getVarchar4() {
        return varchar4;
    }

    public void setVarchar4(String varchar4) {
        this.varchar4 = varchar4;
    }
}
